﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="SES.CMS.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>

    <script language="javascript" type="text/javascript">
    function login_div()
    { 
        var str_openid = ''; 
        if(OPENID_ON)
        {
            str_openid = '<div class="othrAcc" style="margin-left: 70px; border-bottom: 1px solid #cbcac8">Đăng nhập dùng nick : <a class="google" href="'+OID_URL_GOG+'" title="Đăng nhập vào ÉnBạc bằng nick Google tại Google.com">Google</a> hoặc <a class="yahoo" href="'+OID_URL+'" title="Đăng nhập vào ÉnBạc bằng nick Yahoo tại Yahoo.com">Yahoo</a></div>'; 
            var str_height = 130; 
        } 
        jQuery.blockUI({ message: '<form name="login_form" id="login_form" method="POST"><div style="width: 410px; border: 1px solid #d1d4d3; background-color: #fff; padding: 1px;"align="left"><div style="height: 26px; background-color: #17437a;" align="left"><span style="line-height: 26px; color: #fff; padding-left: 10px;">Đăng nhập !</span><img src="style/images/i_close2.gif" width="13" height="13" id="close_box" title="Close..." style="cursor: pointer; padding: 2px; margin-top: 3px; margin-top: 0px; margin-left: 295px;margin-left: 300px; position: absolute" /></div>' + 
        '<div id="loginForm" align="left" style="background: url(style/images/bg_log_faile.gif) repeat-x bottom;height: 178px"><div class="sign-in-field" style="padding-top: 20px;"><label for="user_name" style="font-weight: normal; width: 120px; color: #000">T&#234;n &#273;&#259;ng nh&#7853;p:' +
                '</label><input name="user_name" type="text" id="user_name" /></div><div class="sign-in-field"><label for="password" style="font-weight: normal; width: 120px; color: #000">M&#7853;t kh&#7849;u:</label>' +
                '<input name="password" type="password" id="password" /></div><div class="sign-in-set-cookie" align="left" style="margin-left: 35px; font-weight: normal;">'+
                '<input id="set_cookie" name="set_cookie" value="on" type="checkbox" /><label for="set_cookie"class="cursor" style="font-weight: normal">'+
                    'Ghi nhớ mật khẩu</label></div>'+
            '<div class="sign-in-submit1" style="padding-left: 122px;"><input type="submit" name="sign_in" class="btnLogLogin floatLeft" id="sign-in-submit"'+
                    'value="Đăng nhập" /><span class="sign-in-lost-password"><a href="?page=forgot_password" style="font-weight: normal;">Qu&#234;n m&#7853;t kh&#7849;u?</a></span></div>'+
            ''+str_openid+'</div></div>'+
    '</form>', css: { border:'none', padding:0} }); 
    jQuery('#sign-in-submit').mouseover(function
    () { jQuery(this).toggleClass("btnLogLoginOver"); jQuery(this).removeClass("btnLogLogin");
    }); jQuery('#sign-in-submit').mouseout(function () { jQuery(this).toggleClass("btnLogLogin");
    jQuery(this).removeClass("btnLogLoginOver"); }); jQuery("#login_form").submit(function(){
    on_submit_login(); return false; }); jQuery('#close_box').click(function () { jQuery.unblockUI();
    }); closeBlockUI(); jQuery('#overlay').click(function () { jQuery.unblockUI(); });
    }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        Tên đăng nhâp:
        <asp:TextBox ID="txtUser" runat="server"></asp:TextBox><br />
        Mật khẩu:
        <asp:TextBox ID="txtPass" runat="server"></asp:TextBox>
        <asp:Button ID="btn" runat="server" Text="Đăng nhập" OnClick="btn_Click" />
    </div>
    </form>
</body>
</html>
